package com.study.gulimall.member.feign;

import com.study.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 1
 * @data 2022/1/24
 */
//指定调用的远程服务的服务名
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    //声明调用coupon服务的那个方法
    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();
}
